import http from "../http";


function list(params: any = {}) {
    return http.myRequest({
        url: '/server/hospital/list',
        method: 'post',
        data: params,
    })
}

function id(params: any = {}) {
    return http.myRequest({
        url: '/server/hospital/id',
        method: 'post',
        data: params,
        header: {
            'content-type': 'application/x-www-form-urlencoded'
        }
    })
}

function like(params: any = {}) {
    return http.myRequest({
        url: '/server/hospital/like',
        method: 'post',
        data: params,
        header: {
            'content-type': 'application/x-www-form-urlencoded'
        }
    })
}


export default {
    list,
    id,
    like,
}


